package com.prs.crm.dao.crm.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.crm.CustomerDegreeDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.crm.CustomerDegree;

public class CustomerDegreeDaoImpl extends BaseDaoImpl<CustomerDegree> implements CustomerDegreeDao{

	@Override
	public List<CustomerDegree> getAllDegree() {
		Criteria criteria = this.getSession().createCriteria(CustomerDegree.class);
		
		return criteria.list();
	}

}
